#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Core;
using Cephei.Core.Generic;
using Microsoft.FSharp.Core;
using Cephei.QL.Processes;
namespace Cephei.QL.Pricingengines.Vanilla
{
    /// <summary> 
	/// ! \ingroup vanillaengines  \todo add more greeks (as of now only delta and rho available)  \test - the correctness of the returned value in case of cash-or-nothing at-hit digital payoff is tested by reproducing results available in literature. - the correctness of the returned value in case of asset-or-nothing at-hit digital payoff is tested by reproducing results available in literature. - the correctness of the returned value in case of cash-or-nothing at-expiry digital payoff is tested by reproducing results available in literature. - the correctness of the returned value in case of asset-or-nothing at-expiry digital payoff is tested by reproducing results available in literature. - the correctness of the returned greeks in case of cash-or-nothing at-hit digital payoff is tested by reproducing numerical derivatives.
	/// </summary>
    [Guid ("923A70A5-D1DA-47bc-AAD5-41D53D161C69"),ComVisible(true)]
	public interface IAnalyticDigitalAmericanEngine 
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        /// <summary> 
		/// 
		/// </summary>
		 IAnalyticDigitalAmericanEngine Calculate {get;}
    }   

    /// <summary> 
	/// ! \ingroup vanillaengines  \todo add more greeks (as of now only delta and rho available)  \test - the correctness of the returned value in case of cash-or-nothing at-hit digital payoff is tested by reproducing results available in literature. - the correctness of the returned value in case of asset-or-nothing at-hit digital payoff is tested by reproducing results available in literature. - the correctness of the returned value in case of cash-or-nothing at-expiry digital payoff is tested by reproducing results available in literature. - the correctness of the returned value in case of asset-or-nothing at-expiry digital payoff is tested by reproducing results available in literature. - the correctness of the returned greeks in case of cash-or-nothing at-hit digital payoff is tested by reproducing numerical derivatives. Factory
	/// </summary>
   	[ComVisible(true)]
    public interface IAnalyticDigitalAmericanEngine_Factory 
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        /// <summary> 
		/// 
		/// </summary>
	    IAnalyticDigitalAmericanEngine Create (Cephei.QL.Processes.IGeneralizedBlackScholesProcess process);
    }
}

